package cn.baddonkey.superquery.dao;
import org.apache.ibatis.annotations.Param;

import cn.baddonkey.superquery.model.ModuleQuerySelectField;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* 列表查询字段配置
* @author 18055
* @date 2024-05-22 14:49:39
*/
public interface ModuleQuerySelectFieldMapper extends BaseMapper<ModuleQuerySelectField> {

    List<ModuleQuerySelectField> selectAllByFieldDesc(@Param("fieldDesc") String fieldDesc);

    /**
    * 批量插入
    * @param list 列表
    * @return 影响行数
    */
    int saveBatch(List<ModuleQuerySelectField> list);
}

